package com.itheima.sc.pojo.ums;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @Description
 * @Author WangMouRen
 * @Date 2022-10-12
 */

@TableName(value = "ums_role_menu_relation")
@NoArgsConstructor
@AllArgsConstructor
@Data
public class UmsRoleMenuRelation implements Serializable {
    private static final long serialVersionUID = 1934906021528115883L;

    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 角色ID
     */
    @TableField("role_id")
    private Long roleId;

    /**
     * 菜单ID
     */
    @TableField("menu_id")
    private Long menuId;

}
